
/* Ah, you're examining the secrets. I can't help but wonder why. */

/* You think that there is more to find here than first meets the eye? */

/* I'll admit, it's entirely possible, but if I were to tell you it would not be the same. */

/* You'll have to find it yourself. */

/* Good luck! */


/* 
Set image sizes: see post: https://www.w3schools.com/cssref/css3_pr_object-fit.php */


* 	{
	box-sizing: border-box;
}

body 	{
	background-color: #061d54;
	background-image: linear-gradient(to bottom right, #008fff, #061d54);
	padding: 10px;
}


/* General text formatting */
h1 	{
	text-align: center;
	text-shadow: 1px 1px 0px #99d2ff, 1px -1px 0px #99d2ff, -1px -1px 0px #99d2ff, -1px 1px 0px #00b80e;
	font-size:4em;
	font-family: Arvo;
}

h2	{
	text-align: center;
	font-size:2em;
	font-family: Arvo;
}

h3	{
	text-align: center;
	font-size: 1.5em;
	font-family: Arvo;
}

p	{
	font-size:1.2em;
	font-family: "Times New Roman", Times, sans-serif;
}

hr {
	width: 100%; 
	background-color: black; 
	height: 2px;
}


/* Topnav styling */
.topnav {
	margin: 0%;
	padding: 0%;
  	overflow: hidden;
 	background-color: #061d54;
	color:#f2f2f2;
	width: 100%;
	justify-content: center;
	display: flex;
	flex-wrap: nowrap;
}

.topnav a, .dropdown {
  	float: left;
  	display: flex;
	flex-wrap: nowrap;
  	color: inherit;
  	padding: 0;
  	text-decoration: none;
	margin: 0;
	width: 100%;
	align-items: center;
	justify-content: center;
	min-height: 50px;
}


.topnav a:hover, .dropdown:hover .dropbtn, .dropdown-content a:hover {
  	background-color: #00ffb0;
  	color: black;
}


/* Dropdown menu stuff */
.dropdown {
  float: left;
  display: block;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
}

/* dropdown button */
.dropdown .dropbtn {
  font-size: inherit;
  border: none;
  outline: none;
  background-color: inherit;
  color: inherit;
  width: 100%;
  height: 100%;
  font-family: inherit; 
}


.dropdown-content {
  display: none;
  position: absolute;
  width: max-content;
  background-color: #061d54;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #f2f2f2;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}


.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}


/*Posts and card separators */
.row	{
	display: flex;
  	flex-wrap: wrap;
}


.col.intro {
	background-color: #061d54;
	max-width: 80%;
	-ms-flex: 80%;
	flex: 80%;
	margin-bottom: 2%;
	margin-left: 10%;
}


.col.right {
	background-color: #061d54;
	max-width: 24%;
	-ms-flex: 24%;
	flex: 24%;
	margin-left: 1%;
}

.col.main {
	background-color: #061d54;
	max-width: 75%;
	-ms-flex: 75%;
	flex: 75%;
}


.card.intro {
	background-color:#f7fbff;
	padding: 0.5%;
	margin: 1.5%;
}


.card.main, .moreposts {
	background-color: #f7fbff;
	padding: 0.5%;
	margin: 2%;
}

.card.right {
	background-color: #f7fbff;
	padding: 1%;
	margin-top: 5%;
	margin: 5%;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

/* Continue reading button */
.continuebutton {
	font-size: inherit;
  background-color: #061d54;
  color: #f2f2f2;
  font-family: inherit; 
 	padding: 1%;
  width: max-content;
  display: block;
  text-align: left;
}

.continuebutton:hover {
	background-color: #00ffb0;
  color: black;
}

/* more posts button */
.card.morebutton {
	background-color: #061d54;
	padding: 0.5%;
	margin: 2%;
	display: block;
	text-align: center;
}

.morebutton {
	font-size: inherit;
  border: none;
  outline: none;
  background-color: #4eb1ff;
  color: inherit;
  font-family: inherit; 
  margin: 0;
  min-height: 50px;
  min-width: 200px;
}

.card.morebutton:hover .morebutton {
	background-color: #00ffb0;
  color: black;
}

.moreposts {
	display: none;
}


/* Footer */
.footer {
	background-color: #061d54;
	color: white; 
	padding: 1%;
	width: 100%;
	margin-left: 0%;
	clear: both;
	text-decoration: none;
	margin-top: 1%;
	text-align: left;
}

.footer p {
	text-align: left; 
	font-size: 1.2em;
}

.footer a {
	color: #00ffb0;
}
	
.footer a:active {
    color: #008fff;
}


/* Image Container for post headings */
.imgcontainer {
	width: 100%;
	height: 30vh;
	overflow: hidden;
	float: left;
	margin-bottom:0.5%;
	diplay:flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.imgcontainer img {
	flex-shrink: 0;
	min-width: 100%; 
	max-width: 100%;
	min-height: 100%;
	max-height: 100%;
	object-fit: cover; 
	object-position: 0px -10vh;
}

/* Links */
.card.main p a, .card.right p a, .card.intro p a, .card.moreposts p a {color: #061d54;
text-decoration: underline;}

.card.main p a:active, .card.right p a:active, .card.intro p a:active, .card.moreposts p a:active {color: #00ffb0;
text-decoration: underline;
}

.continuebutton a {
    text-decoration: none;
}

.continuebutton a:active {
    color:#061d54;
}

a {
  color: inherit;
  text-decoration: none;
}

a:active{
  color:#00ffb0; 
  -webkit-tap-highlight-color: #00ffb0; 
}

/* Class tags */

#moreposts {
	display: none;
}


/* Responsivity - lose second column and change font sizes*/
@media screen and (max-width: 900px) {
	.row {
		flex-direction: column;
		gap:1em;
		flex-wrap: nowrap;
	}
	.col.main {
	margin-left: 0%;
	max-width: 100%;
	-ms-flex: 100%;
	flex: 100%;
}

.col.right {
	display: none;
}

h1 	{
	text-align: center;
	font-size:3em;
}

h2 {font-size: 1em;}

.imgcontainer {height: 20vh;}

.imgcontainer img {
	flex-shrink: 0;
	min-width: 100%; 
	max-width: 100%;
	min-height: 100%;
	max-height: 100%;
	object-fit: cover; 
	object-position: 0px 0vh;
}


p {font-size: 0.8em;}

.continuebutton {font-size: 0.8em;}

.footer p {
	font-size: 1.0em;
}
}

/* Responsivity - collapse navbar into a column */
@media screen and (max-width: 640px) {

	.topnav {
	display:block;
}
	.topnav a {
	width: 100%;
	float: none;
}

	.topnav .dropdown {float: none; display: block; min-height: 50px;}
 	.topnav .dropdown-content {position: relative;
				width: 100%;
				justify-content: center;
				text-align: center;}
  	.topnav .dropdown .dropbtn {
    display: block;
    width: 100%;
    min-height: 50px;
  }
}

